﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Druid
    {
        public bool restorationCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (restorationPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (restorationDungeonCombat())
                    return true;
            }
            else
            {
                if (restorationQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool restorationHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (restorationPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (restorationDungeonHeal())
                    return true;
            }
            else
            {
                if (restorationQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool restorationBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (restorationPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (restorationDungeonBuff())
                    return true;
            }
            else
            {
                if (restorationQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool restorationPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (restorationPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (restorationDungeonPullSpell())
                    return true;
            }
            else
            {
                if (restorationQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
